package com.ziyun.erp.modules.material.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author ZhaoWei
 * @Date 2018/11/06 17:18
 * @Version V1.0
 */


@TableName("store_stock_material")
public class storeStockMaterialEntity implements Serializable {
	private static final long serialVersionUID = -4372288635413081280L;

	@TableId(type = IdType.AUTO)
	private Integer stockMaterialId;
	/**
	 * 仓库id
	 */
	@Excel(name = "仓库id",isImportField = "true_st")
	private Integer stockId;
	/**
	 * 耗材id
	 */
	@Excel(name = "耗材id",isImportField = "true_st")
	private String materialId;
	/**
	 * 耗材库存
	 */
	@Excel(name = "耗材库存",isImportField = "true_st")
	private BigDecimal materialQuantity;
	/**
	 * 成本
	 */
	@Excel(name = "成本" ,isImportField = "true_st")
	private BigDecimal cost;
	/**
	 * 库存金额
	 */
	@Excel(name = "库存金额", isImportField = "true_st")
	private BigDecimal money;
	/**
	 * 单位
	 */
	@Excel(name = "单位",isImportField = "true_st")
	private String unit;
	/**
	 * 备注
	 */
	@Excel(name = "备注",isImportField = "true_st")
	private String remark;
	/**
	 * 更新人
	 */
	private String updateName;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 创建人（员工id）
	 */
	private String createName;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 伪删除标记 0正常,1删除
	 */
	private Integer del;


	public Integer getStockMaterialId() {
		return stockMaterialId;
	}

	public void setStockMaterialId(Integer stockMaterialId) {

		this.stockMaterialId = stockMaterialId;
	}

	public Integer getStockId() {
		return stockId;
	}

	public void setStockId(Integer stockId) {
		this.stockId = stockId;
	}

	public String getMaterialId() {
		return materialId;
	}

	public void setMaterialId(String materialId) {
		this.materialId = materialId == null? null:materialId.trim();
	}

	public BigDecimal getMaterialQuantity() {
		return materialQuantity;
	}

	public void setMaterialQuantity(BigDecimal materialQuantity) {
		this.materialQuantity = materialQuantity;
	}

	public BigDecimal getCost() {
		return cost;
	}

	public void setCost(BigDecimal cost) {
		this.cost = cost;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit == null ? null :unit.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null :remark.trim();
	}

	public String getUpdateName() {
		return updateName;
	}

	public void setUpdateName(String updateName) {
		this.updateName = updateName == null ? null :updateName.trim();
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName == null ? null :createName.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}
}
